package com.youlu.campus.admin.zm.req;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

/**
 * @author : [dengbo]
 * @className : ZmReceiveMsgDTO
 * @description : [芝麻客服消息接收]
 * @createTime : [2022/11/9 16:09]
 */
@Data
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class ZmReceiveMsgRequest {
    private String wechatappId;
    private String openid;
    private String unionid;
    private String appid;
    private Long channelId;
    private Long time;
    private Long flowId;
    private MsgInfo message;
    private String signature;

    @Data
    @JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
    public static class MsgInfo {
        private String msgType;
        private String content;
        private String msgId;
        private Integer msgMenuId;
    }
}
